/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.jsrpc.vo;

/**
 *
 * @author neo
 */
public class Service {

    public void call1(String s) {
        System.out.println("call1 it work:" + s);
    }

    public void call2(String s, int i) {
        System.out.println("call1.2 it work:" + s + " " + i);
    }

    public String call3(String s, int i) {
        System.out.println("call3 it work[" + s + "] int[" + i + "]");
        return "call3 it work";
    }
//
    public String call4(Info info) {
        System.out.println("call4 id[" + info.getId() + "] name[" + info.getName() + "]valueInt[" + info.getValueInt() + "]");
        return "call4 it work.";
    }
//
    public Info call5(Info info) {
        System.out.println("call5 id[" + info.getId() + "] name[" + info.getName() + "]valueInt[" + info.getValueInt() + "]");
        return info;
    }

    public void call6(int p1, long p2, float p3, double p4, boolean p5) {
        System.out.println("call6 int[" + p1 + "] long[" + p2 + "]float[" + p3 + "]double["+ p4 +"]boolean["+ p5+"]");
    }
}
